﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            HouZi hz = new HouZi("桃", "猴子");
            hz.eatFood();
            hz.climp();
            Console.WriteLine();
            Cat cat = new Cat("鱼", "猫");
            cat.eatFood();
            cat.climp();

            Console.WriteLine();
            Dog dog = new Dog("肉", "狗");
            dog.eatFood();

            Console.WriteLine();
            Duck duck = new Duck("饲料", "鸭");
            duck.eatFood();
            duck.swim();
        }
        static void mmm(ISwim swim, IClimp climp, Eat eat)
        { 
        
        }
    }
}
